<?php
/**
 * Created by PhpStorm.
 * User: function
 * Date: 2018-04-11
 * Time: 23:19
 */

namespace app\common\logic;
use app\common\logic\Logic;

class AreaLogic extends Logic
{
    protected $modelClass = 'app\common\model\Area';
    
    
    /**
     * @param $modelClass
     * @param $moduleid 类别
     * @param $pid 父级id
     */
    
    public function getOne($itemid,$field=null){
        $rt = $this->findModel($this->modelClass,$itemid,$field);
        return $rt;
    }
    
    
}